package com.carkeeper.shop.service;

import com.carkeeper.pojo.ServiceType;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface TypeService {
    //增加服务分类
    public void addServiceType(ServiceType serviceType);

    //修改服务分类
    public void updateServiceType(ServiceType serviceType);

    //分页查询服务分类
    public Page<ServiceType> findTypePage(int page, int size);

    //多条件分页查询
    Page<ServiceType> findTypePage(Map<String,Object> searchMap,int page,int size);

    //删除
    void  deleteTypeById(String id);

    
}
